package com.ym.pms.service;

import com.ym.pms.model.Contract;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lmt
 * @since 2020-12-23
 */
public interface ContractServices extends IService<Contract> {

    void deleteInfo(Integer contractId);

    List<Contract> queryAll();

    void updateInfo(Integer id, String coRFT);

    Contract queryOne(Integer id);

    List<Contract> search(Contract contract);

    void saveInfo(Integer id, String coPBName, String coPBPNo);

    void addInitInfo(Contract contract);

    void compareTime();

    void addPhoto(Integer id, String path);
}
